package com.xyebank.ledger.service.lkl.sche;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xyebank.ledger.anon.MigTaskComponent;
import com.xyebank.ledger.enums.LedgerJobType;
import com.xyebank.ledger.service.common.MigServiceAdapter;
import com.xyebank.ledger.service.lkl.adapter.LKLServiceAdapter;
import com.xyebank.ledger.vo.deal.ZYCashPaymentInfVo;
import com.xyebank.ledger.vo.deal.LKLCashInfVo;

/**
*
*
* @author rcl:
* @version 创建时间：2018年8月30日 上午10:16:10
* 
*/
@Component
@MigTaskComponent(type = "lkl_apply_")
public class LKLApplyMigService extends MigServiceAdapter<LKLCashInfVo>{

    @Autowired
    LKLServiceAdapter lklServiceAdapter;

    
    @Override
    public Integer deal(Integer fromIdx, List list, LedgerJobType jobType) {
        return lklServiceAdapter.dealApplication(fromIdx, list, LedgerJobType.MIGRATE);
    }
}
